package com.group.three.service;

import com.group.three.entity.OrderDetailVO;
import com.group.three.entity.OrderLog;
import com.group.three.entity.OrderSimpleVO;

import java.util.List;

public interface OrderService {
    //所有订单列表
    List<OrderSimpleVO> queryByParams(int pageNum, int pageSize);

    //所有订单详情
    List<OrderDetailVO> getBySn(String orderSn);

    //修改订单价格
    int updatePrice(String orderSn, Double orderPrice);

    //取消订单
    int cancelOrder(String orderSn, String reason);

    //修改收件地址
    int updateMemberAddress(String orderSn, String name, String mobile, String address);

    //获取订单日志
    List<OrderLog> selectBuyerOrderItemLog(String orderSn);

    //订单发货
    int delivery(String orderSn, String logisticsNo, String logisticsId);
}
